package P1;

class B {
    int a=99;
    void a() {
        System.out.println("666");
    }
}
class A extends B {
    int a=20;


    public A() {
        System.out.println(super.a);
    super.a();
    }
}
public class Test1 {
    //测试super关键词
    public static void main(String[] args) {
        A a1= new A();
    }
}
